<?php 
global $_GPC, $_W;
$operation = !empty($_GPC['op']) ? $_GPC['op'] : 'display';
$cfg = $this->module['config'];

if($operation=="deleteupdate"){
    if (!$_W['isfounder'] && $_W['role']!="manager")die(json_encode(array("success"=>false,'msg'=>'权限不足')));
    $type=$_GPC['updatetype'];
    load()->func('file');
    $dir_url="../attachment/j_hmoney/cert_2/";
    if($type==1){
        if(file_exists($dir_url.$cfg["softurl"]))@unlink ($dir_url.$cfg["softurl"]);
    }elseif($type==1){
        if(file_exists($dir_url.$cfg["softmemberurl"]))@unlink ($dir_url.$cfg["softmemberurl"]);
    }elseif($type==2){
        if(file_exists($dir_url.$cfg["appurl"]))@unlink ($dir_url.$cfg["appurl"]);
    }
    die(json_encode(array("success"=>true)));

}elseif ($operation == 'post') {

	
}









